// 获取成绩
import http from "../utils/request";

// 获取全部有效成绩
export const getAllScoreAPI = () => {
    return http({
        url:'/scores',
        method: 'GET',
        needLogin: true
    })
}

// 获取全部原始成绩
export const getAllRawScoreAPI = () => {
    return http({
        url:'/raw-scores',
        method: 'GET',
        needLogin: true
    })
}

// 获取学期课表
export const getTermScoreAPI = () => {
    return http({
        url:'/courses',
        method: 'GET',
        needLogin: true
    })
}